package com.touchfish.material.service;

import com.touchfish.material.domain.TGoodsMaterial;

import java.util.List;

public interface MaterialService {

    List<TGoodsMaterial> getMaterialList();
    //    TODO GET /listMaterial 按条件模糊查询材料
    List<TGoodsMaterial> listMaterial(String condition);

    void delMaterial(String condition);

    void createMaterial(TGoodsMaterial material);

    void updateMaterial(TGoodsMaterial material);
}
